package com.erp.erp_mask.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.erp.erp_mask.pojo.TSupplier;
import com.erp.erp_mask.service.TSupplierService;
import com.erp.erp_mask.mapper.TSupplierMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author yang
* @description 针对表【t_supplier】的数据库操作Service实现
* @createDate 2024-05-13 18:25:07
*/
@Service
public class TSupplierServiceImpl extends ServiceImpl<TSupplierMapper, TSupplier>
    implements TSupplierService{

    @Override
    public Page<TSupplier> searchTsup(String cliname, String cliaddress, Long pageNo, Long pageSize) {
        return baseMapper.searchTsup(cliname,cliaddress,new Page<>(pageNo,pageSize));
    }

    @Override
    public void addList(TSupplier tSupplier) {
        baseMapper.addList(tSupplier);
    }
}




